home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Interface / sprite_blend_add_walpha.mat < prev    next >
Encoding:
Text File  |  2004-01-05  |  597 b   |  32 lines

  1.  
  2. shader()
  3. {
  4.     cull("none")
  5.     sortweight("sprite")
  6.  
  7.     pass()
  8.     {
  9.  
  10.  
  11.         tmu()
  12.         {
  13.             texture()
  14.             {
  15.                 usermap(0)
  16.                 filtering("linear_no_mip")
  17.                 addressfunc("clamp", "clamp", "clamp")
  18.             }
  19.  
  20.             colorop("mul", "texture", "tfactor", "current")
  21.             alphaop("mul", "texture", "tfactor", "current")
  22.         }
  23.  
  24.         colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
  25.  
  26.         blendfunc( "src_alpha", "one" )
  27.         depthfunc( "always", 0 )
  28.         nofog()
  29.     }
  30. }
  31.  
  32.